#! /bin/bash
disk_use=`df -Ph |grep '/$'| awk '{print $(NF-1)}'|awk -F "%" '{print $1}'`
mail_user=wangtao
if  [ $disk_use -ge 70 ];then
	echo "`date +%F-%H` disk: ${disk_use}%" | mail -s "disk war..." $mail_user
fi
